Skip to content

Conversation

@jeremymanning
Copy link
Member

  • Add 294 missing capitalization terms to bibcheck/caps.txt that were already correctly formatted in curly braces in cdl.bib
  • Fix ClanEtal19 entry: change (FEVER) to ({FEVER}) and add force: True flag
  • This ensures all properly capitalized terms in the bibliography are recognized by the bibcheck validation

Fixes pytest failures related to capitalization validation.

List of citation keys added (one per line)

List of citation keys modified (one per line)

Other changes (describe)

- Add 294 missing capitalization terms to bibcheck/caps.txt that were already correctly formatted in curly braces in cdl.bib
- Fix ClanEtal19 entry: change (FEVER) to ({FEVER}) and add force: True flag
- This ensures all properly capitalized terms in the bibliography are recognized by the bibcheck validation

Fixes pytest failures related to capitalization validation.
- Reverted caps.txt back to 392 entries (removed 294 incorrectly added terms)
- Previous commit added too many terms including publisher names, journal names,
  and other words that should not be in the capitalization validation list
- Keeping only the ClanEtal19 fix with ({FEVER}) and force: True flag
- Will add only the specific terms causing pytest errors once identified

Awaiting specific pytest error messages to add only necessary terms.
Changes to bibcheck/caps.txt:
- Add AAAI and WWW to capitalization whitelist

Changes to cdl.bib:
- Fix ID: MartiEtal18 → MartEtal18 (correct author name abbreviation)
- Fix ID: ZhanEtal18 → ZhanEtal18a (add suffix for duplicate year)
- Fix BarrEtal13:
  * Title: "Keep" → "keep" (proper capitalization)
  * Author: "DJ Barr ... HJ Tily" → "D J Barr ... H J Tily" (space initials)
- Fix MatuEtal17 title: "Type I" → "type {I}" (lowercase + protect Roman numeral)
- Fix BateEtal15b title: "Mixed Models" → "mixed models" (proper capitalization)
- Fix BateEtal15a title: "Linear Mixed-Effects Models Using" → "linear mixed-effects models using"

All bibcheck tests now pass.
@jeremymanning jeremymanning merged commit ce48365 into master Nov 5, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants